package pl.umk.mat.fred.unicore.urc.storagemanagement.tree.nodes;

public class GridNode extends Node {
	public static final String ICON_NAME = "gridIcon";
	
	@Override
	public GridNode clone(Node parentNode) {
		GridNode gridNode = new GridNode();
		gridNode.setPath(this.getPath());
		gridNode.setParent(parentNode);
		
		for (Node n : this.getChildren()) {
			Node n2 = n.clone(gridNode);
			gridNode.add(n2);
		}
		return gridNode;
	}
}
